home *** CD-ROM | disk | FTP | other *** search
- # Generic Polyray input File
- # Polyray input file: Alexander Enzmann
-
- # Set up the camera
- viewpoint {
- from <0, 5, -5>
- at <0, 0, 0>
- up <0, 1, 0>
- angle 30
- resolution 160, 160
- }
-
- # Get various surface finishes
- include "colors.inc"
-
- # Set up background color & lights
- background black
- light <10, 10, -20>
-
- # Glob - sort of like basic teardrop shape.
- define r0 0.6
- define r1 0.4
- object {
- polynomial x^4 + 2*x^2*y^2 - 2*x^2*z^2 - 2*(r0^2+r1^2)*x^2 + y^4 -
- 2*y^2*z^2 + 2*(r0^2-r1^2)*y^2 + z^4 + 2*(r0^2+r1^2)*z^2 +
- (r0^2-r1^2)^2
- root_solver Ferrari
- bounds object { sphere <0, 0, 0>, sqrt(12) }
- clips object { box <-2, -2, -2>, <2, 2, 2> }
- rotate <-20, -30, 0>
- shiny_red
- }
-